    var dom = document.getElementById("id-1");
    var myChart = echarts.init(dom);
    var app = {};
    option = null;

    option = {
        title: {
            text: '2250报表使用情况统计',
            subtext: '统计数据',
            left: 'center'
        },
        tooltip : {
            trigger: 'item',
            formatter: "{a} <br/>{b} : {c} ({d}%)"
        },
        legend: {
            bottom: 10,
            left: 'center',
            data: ['库存分析报表', '平整日报','横切日报']
        },
        series : [
            {
                type: 'pie',
                radius : '65%',
                center: ['50%', '50%'],
                selectedMode: 'single',
                data:[
                    { value:1548,name: '库存分析报表'},
                    {value:535, name: '平整日报'},
                    {value:510, name: '横切日报'}
                ],
                itemStyle: {
                    emphasis: {
                        shadowBlur: 10,
                        shadowOffsetX: 0,
                        shadowColor: 'rgba(0, 0, 0, 0.5)'
                    }
                }
            }
        ]
    };
    if (option && typeof option === "object") {
        myChart.setOption(option, true);
    }